﻿using BugAdmin.IService;
using BugAdmin.Service;

namespace BugAdmin.Api.Common
{
    /// <summary>
    /// 注册自定义服务扩展类
    /// </summary>
    public static class RegisterCustomServiceExt
    {
        /// <summary>
        /// 注册自定义数据库服务扩展方法
        /// </summary>
        /// <param name="service"></param>
        public static void RegisterCustomService(this IServiceCollection service)
        {
            service.AddTransient<IUserService,UserService>();
        }
    }
}
